Repository navigation
Fix native console and scalar call parity - #13
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native programs rejected
exit(7)unless the caller explicitly cast the argument toi32, and could not use the standard console input or flush functions. Normalize declared scalar representations before direct native dispatch and implement managed line input and output flushing for AOT and JIT. Ny and Matrix can now use these public calls across execution routes. Integer widths normalize using existing storage semantics; floating-to-integer conversions require an explicit cast, preserving provider checks such as fractional-duration rejection. Raw NIL and provider ABI checks remain strict.Also correct VM cumulative allocation statistics when arrays grow. Successful appends count once, including through aliases, while writes, frees, and collection preserve the cumulative total. Extend Aperture coverage for native stdin and EOF failures, and record remaining GC API, analysis and input limitations in findings F54–F55.
Validation on Linux x86-64:
Stacked on #12. Native text still rejects embedded NUL; public native GC control/statistics and broader scalar argument diagnostics remain follow-up work. Windows console behavior is not yet qualified.